package com.pfzy.utildemo.activity.im;

public class Message {
    private String name;
    private String message;
    private int type;
    private long time;
    private int status;

    public Message(String name, String message, int type, long time, int status) {
        this.name = name;
        this.message = message;
        this.type = type;
        this.time = time;
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Message{" +
                "name='" + name + '\'' +
                ", message='" + message + '\'' +
                ", type=" + type +
                ", time=" + time +
                ", status=" + status +

                '}';
    }
}
